const { defineConfig } = require('@vue/cli-service'); 
module.exports = defineConfig({
  transpileDependencies: true, configureWebpack: { 
    resolve: {
      alias: { '@': require('path').resolve(__dirname, 
        'src/')
      }
    }
  },
  devServer: { host: '0.0.0.0', port: 8080, proxy: { 
      '/api': {
        target: 'http://localhost:8000', changeOrigin: 
        true, pathRewrite: { '^/api': '' }
      }
    }
  }
});
